"use strict";
cc._RF.push(module, '9849bfhgCFAhpGc5oJpPAIP', 'messageConfig');
// scripts/engines/modules/gameWebSocketContent/messageConfig.ts

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.messageConf = void 0;
exports.messageConf = {
    //消息分隔
    MESSAGE_SPLIT: '.',
    //消息头
    MESSAGE_HEAD: {
        COME: 'come',
        OUT: 'out',
        TALK: 'talk',
        PEOPLE: 'people',
    },
    //
    packageMessage: function (head, body) {
        return "" + head + this.MESSAGE_SPLIT + body;
    },
    //
    unPackageMessage: function (message) {
        var ary = message.split(this.MESSAGE_SPLIT);
        return { head: ary[0], body: ary[1] };
    },
    talkObject: {
        name: '',
        time: '',
        messageText: '',
    }
};

cc._RF.pop();